import Vue from 'vue'
import router from '@/router'
import store from '@/store'

import { setHtmlFontSize } from '@/libs/utils'
import initWeixinConfig from "@/libs/weixin";

import App from './App.vue'
import '@/assets/iconfont/iconfont.css'
import '@/assets/styles/fonts.scss'


Vue.config.productionTip = false

new Vue({
    render: h => h(App),
    router,
    store,
    mounted() {
        // 设置 Html Font Size
        setHtmlFontSize()
        
        // 初始化微信配置
        initWeixinConfig()
    }
}).$mount('#app')
